package com.ruibang.glass.quality.domain.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-04-29  14:32
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class HistoryBatchResp implements Serializable {

    @ApiModelProperty(value = "容器编码")
    private String contentCode;

    @ApiModelProperty(value = "批次编号")
    private String lotCode;

    @ApiModelProperty(value = "批次号")
    private String batchNumber;

    @ApiModelProperty(value = "产线名称")
    private String lineName;

    @ApiModelProperty(value = "玻璃片数")
    private Integer momNum;

    @ApiModelProperty(value = "入库状态:0=待收包,3=待质检,6=待入库,8=入库中,10=已入库,20=已出库,(后面替换新状态)")
    private String inStatus;

    @ApiModelProperty(value = "物品类型:2=成品,3=半成品,6=外购半成品")
    private String contentType;

    @ApiModelProperty("创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否手动解绑")
    private String isUnbind;

    @ApiModelProperty("判定人(人工判)")
    private String changeLevelUser;

    @ApiModelProperty("品级(人工判)")
    private String level;

    @ApiModelProperty("品级(检查机)")
    private String result;

    @ApiModelProperty("最终品级")
    private String finalLevel;

    @ApiModelProperty("品级改判原因")
    private String changeLevelReason;

    @ApiModelProperty("质检失败原因")
    private String unqualifiedReason;


}
